<!DOCTYPE html>
<style>
  .testBlock {
    width: 100px;
    height: 100px;
    background: #00cc66;
    border-top: 50px solid #ffff00;
  }
</style>
<div class="testBlock" id="testBlock"></div>